package com.example.service.question;

import com.example.domain.question.HotQuestionVO;
import com.example.domain.question.QuestionDetailVO;
import com.example.domain.question.dto.QuestionQueryDTO;
import oj.common.core.domain.PageQueryDTO;
import oj.common.core.domain.TableDataInfo;

import java.util.List;

public interface IQuestionServer {
    TableDataInfo list(QuestionQueryDTO questionQueryDTO);

    QuestionDetailVO detail(Long questionId);

    String preQuestionDetail(Long questionId);

    String nextQuestionDetail(Long questionId);

    List<HotQuestionVO> selectQuestionList(PageQueryDTO pageQueryDTO);
}

